
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	response.addHeader("P3P", "CP=CAO PSA OUR");
	EmployeeInfo employeeInfo = new EmployeeInfo();
	String tfuserInfoId  ="";
	if(session != null && session.getAttribute("userInfo")!=null){
		 employeeInfo = ((UserInfo) session.getAttribute("userInfo")).getEmployeeInfo();
		 tfuserInfoId =employeeInfo.getPeiId();
	}else{
		out.write("<script>window.location='"+basePath+"logoff.jsp'</script>");
	}
	String peiId=employeeInfo.getPeiId();
	String soId = "";
	String zwID="";
	UserInfo userInfo=(UserInfo)session.getAttribute("userInfo");
	String username  = userInfo.getSuName();
	String employeeName = userInfo.getEmployeeInfo().getEmployeeName();
	Date date = DateUtil.getNowDateTime();
	String suId=userInfo.getSuId();
	int toDay = date.getDate();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户密码修改</title>
<!-- 加载JS -->
<script type='text/javascript' src="<%=basePath%>sources/script/pagejs/syspagejs/userPasswordEdit.js"></script>
<script type='text/javascript' src='<%=basePath%>sources/script/common/common.js'></script>
<script type="text/javascript" src="<%=basePath%>dwr/interface/UserInfoService.js"></script>
<script type="text/javascript" src="<%=basePath%>dwr/interface/RoleService.js"></script>
<script type="text/javascript" src="<%=basePath%>dwr/interface/RoleUserService.js"></script>
<script type="text/javascript" src="<%=basePath%>dwr/interface/EmployeeInfoService.js"></script>
<script type="text/javascript" src="<%=basePath%>dwr/engine.js"></script>
<script type="text/javascript" src="<%=basePath%>dwr/util.js"></script>
<script type="text/javascript" src="<%= basePath %>sources/js/jquery.min.js"></script>
<script type="text/javascript" src="<%= basePath %>sources/js/flexigrid.js"></script>
<script type='text/javascript' src='<%=basePath%>script/common/common.js'></script>
<link rel="stylesheet" type="text/css" href="<%= basePath %>sources/css/flexigrid.css" media="all" />
<link rel="stylesheet" type="text/css" media="all" href="<%= basePath %>sources/css/pop-up.css" />
<link rel="stylesheet" type="text/css" media="all" href="<%= basePath %>sources/css/general.css" />
<link rel="stylesheet" type="text/css" media="all" href="<%= basePath %>sources/css/reset.css" />
<link rel="stylesheet" type="text/css" media="all" href="<%= basePath %>sources/css/table.css" />
<link rel="stylesheet" type="text/css" media="all" href="<%= basePath %>sources/css/view.css" />
<link rel="stylesheet" type="text/css" media="all" href="<%= basePath %>sources/css/contextmenu.css" />
<link rel="stylesheet" href="<%= basePath %>sources/css/jquery-ui.css" />
<script type="text/javascript" charset="utf-8" src="<%= basePath %>sources/js/jquery.js"></script>
<script src="<%= basePath %>sources/js/jquery-ui.js"></script>
<script src="<%= basePath %>sources/js/contextmenu.js" type="text/javascript"></script>
<script type="text/javascript">
	 var basepath ='<%=basePath%>';
</script>
<!-- 加载CSS样式单 -->
<link rel="stylesheet" href="<%=basePath%>sources/css/style.css" type="text/css"></link>
<link rel="stylesheet" href="<%=basePath%>sources/css/inputborder.css" type="text/css"></link>
<!-- CSS背景变白色 -->
<style>

.STYLE3 {
	font-size: 14pt
	
}

.STYLE4 {
	font-size: 16pt
}

.STYLE5 {
	color: #FF0000
}

.STYLE6 {
	font-size: 12px;
	color: #4f0102;
	font-weight: bold;
}
.redborder{border:2px dashed #ff0000 }
</style>
</head>
<body onload="loadData()">
	<h2 class="title">用户密码修改</h2>
	<div class="clear"></div>
	<hr class="dashed" />
	<div class="clear"></div>

<!-- 页面替换以前的-->
<!-- 页面头格式 -->
<p><input id="yuan" type="hidden" value="" /></p>
<!--<table width="100%" border="0" cellpadding="0" cellspacing="0">
	 <tr>
		<td><span class="STYLE6">用户密码修改</span></td>
	</tr>
	<tr>
		<td></td>
	</tr>		
</table> -->
<!--格式结束-->
<table width="100%" border="0" class="round-table">
	<tr>
        <td class="l-t"></td>
        <td class="m-t"></td>
        <td class="r-t"></td>
    </tr>
	<tr >
		<td class="l-m"></td>
	 	<td>
	  <!-- 这里开始写大家之前的表格 -->
				<table class="input-table">
				
				<tr>
					<td width="117">&nbsp用户登陆名称：</td>
					<td><label><input id="suName"   type="text" class="inputborder" style="width:230px;height:18px;"  readonly="readonly" /></label></td>
				</tr>
				
				<tr>
					<td><span class="STYLE5">*</span>原用户密码：</td><td width="349"><input id="suPasswordOld" type="password"  class="inputborder" style="width:230px;height:18px;"  />(字母或数字)</td>
				</tr>		
				<tr>
					<td><span class="STYLE5">*</span>新用户密码：</td><td width="349"><input id="suPassword" type="password"  class="inputborder" style="width:230px;height:18px;" />(字母或数字)</td>
				</tr>
				<tr>
				  <td><span class="STYLE5">*</span>新确认密码：</td>
				  <td><input name="password" type="password" id="suPassword2"  class="inputborder" style="width:230px;height:18px;" /></td>
				</tr>
				<tr>
				  <td colspan="2">
				    <div align="center"><a class="table-btn" name="Submit" onclick="editPassword()">保 存</a>
				     <a name="cancel" class="table-btn" onclick=cancel()>返 回</a> </div></td>
				  </tr>
				</table>
				<span class="STYLE5"> &nbsp;&nbsp;&nbsp;&nbsp;备注：* 号为必填信息</span>
			<!-- 这里结束大家之前的表格 -->
		</td>
		<td class="r-m"></td>
    </tr>
    <tr>
        <td class="l-b"></td>
        <td class="m-b"></td>
        <td class="r-b"></td>
    </tr>
</table>
<script type="text/javascript">
function loadData(){
	var id='<%=suId%>';
	init(id);
}
</script>
</body>
</html>
